<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<UlyssesAgenda.Repositories.GameObjects.GameObjectInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            Url:
            <%= Html.Encode(Model.Url) %>
        </p>
        <p>
            LastSave:
            <%= Html.Encode(String.Format("{0:g}", Model.LastSave)) %>
        </p>
        <p>
            CanonicalName:
            <%= Html.Encode(Model.CanonicalName) %>
        </p>
        <p>
        <table width="100%" border=0 cellspacing=2 cellpadding=2>
        <% foreach (string key in Model.State.Keys)
           { %>
            <tr>
                <td><%= key %></td>
                <td><%= Model.State[key] %></td>
            </tr>
        <% } %>
        </table>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

